<?php
accessPage(2);
my_component_load('testing' , false);
my_component_load('paging' , false);
my_component_load('gap_kompetensi', false);
$task = isset($_GET['task']) ? $_GET['task'] : ""; 
$id= isset( $_GET['id'] ) ? $_GET['id']:  0;
accessPage(2);
$modulname = "Personalia _BN_ Penempatan _BN_ HR Planning _BN_ Gap Specification";
if($task == 'spec'){
	$pagename = $modulname;
	load_facebox_script();	
	$view = list_spec($id);
}elseif($task =='kompetensi'){
	$pagename = $modulname;
	load_facebox_script();	
	$view = list_kompetensi($id);
}elseif($task =='physic'){
	$pagename = $modulname;
	load_facebox_script();	
	$view = list_physic($id);
}else{
	$pagename = $modulname;
	load_facebox_script();	
	$view = list_gap_kompetensi();
}
generate_my_web($view, $pagename );

?>